GtkLabel: Make context menus on links work
authorMatthias Clasen <mclasen@redhat.com>
Wed, 21 May 2014 14:29:17 +0000 (10:29 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 21 May 2014 14:29:17 +0000 (10:29 -0400)
commit6b26410d389b50c7f4291b0ef8c1f52ea35c0822
treed1f648c8627e96c9731b8728e7329392842384ef
parent11abc517f5bb98cec5bf9fcc80c4e800ab8ea48f
GtkLabel: Make context menus on links work

We see an active link when creating the menu, but by the time
the menuitem is activated, we've received a leave notify that
makes the label clear its active link. Instead, give the
menuitems a direct reference to the link that is active when
the menu is created.

Problem pointed out by Tim Baedert
gtk/gtklabel.c